package com.partner.boot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import cn.hutool.core.annotation.Alias;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
* <p>
* 
* </p>
*
* @author 小熊
* @since 2023-03-23
*/
@Getter
@Setter
@TableName("sys_apply")
@ApiModel(value = "Apply对象", description = "")
public class Apply implements Serializable {

private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    // 请求者的id
    @ApiModelProperty("请求者的id")
    @Alias("请求者的id")
    private Integer uid;

    // 接受者的id
    @ApiModelProperty("接受者的id")
    @Alias("接受者的id")
    private Integer tid;

    @TableField(exist = false)
    private User user;
}